package com.special.threademo.common;

/**
 * @author LiuYC
 * @version 1.0.0
 * @create 2020-12-21 11:05
 */
public class Constants {
    public final static String X_ACCESS_TOKEN = "X-Access-Token";

    public interface StatusCode {
        String SUCCESS = "000000";
        String NO_AUTH = "000002";
        String USER_NOT_FOUND = "000001"; //找不到该用户!
        String MOBILE_PASSWORD_ERROR = "U00001"; //手机号或密码错误!
        String USER_UPDATE_PASSWORD_ERROR = "123456"; //修改密码时，原密码和输入密码不一致，密码错误
        String SYSTEM_EXCEPTION = "999999";
        String FILENUll = "F0000N";//文件为空
        String INTERRUPTED = "123456"; //获取锁资源等待超时
        String PARAM_NOT_VALID = "P00001";
        String REGEX_MOBILE = "^((13[0-9])|(14[5|7])|(15([0-3]|[5-9]))|(17[013678])|(18[0,2,5-9]))\\d{8}$";  //大陆手机号正则表达式
        String NO_COURSE_PACKAGE = "001122";//找不到课程包
        String PUSH = "P00001";
    }
}
